#include<stdio.h>
#define NUMBERS		4
/*
 *
int main(){
	int x = 10, y = 11;
	double a[5];
	char c = 'C';
	int* px, py;
	char* pc;
	px = &x;
	py = &y;
	pc = &c;
	printf("x = %d, px = %x\n", x, px);
	printf("c = %c, pc = %x\n", c, pc);
	printf("y = %d, py = %x\n\n\n", y, py);
	printf("\n**********************\n");
	printf("a = %x, a + 1 = %x\n",a, a + 1);
	printf("&a = %x, &a + 1 = %x\n",&a[0], &a[1]);
	px++;
	py++;
	pc++;
	printf("\n**********************\n");
	printf("After the increment\n");
	printf("x = %d, px = %x\n", x, px);
	printf("y = %d, py = %x\n", y, py);
	printf("c = %c, pc = %x\n", c, pc);
	return 0;
}

*/
int main(void){
	int a[NUMBERS], i;
	for (i = 0; i < NUMBERS; i++){
		printf("Enter a number:");
		scanf("%d", a + i);
	}
	printf("The numbers multiplied for 2 are: \n");
	for (i = 0; i < NUMBERS; i++){
		*(a+i)=*(a+i)*2;
		printf("%d",*(a+i));
	}
	printf("\n");
	return 0;
}
